<template>
    <div class="frame">
        <el-card>
            <div class="box">
                <img :src="avatar" alt="" class="avatar">
                <div class="bottom">
                    <h3 class="title">你好呀</h3>
                </div>
            </div>
        </el-card>
        <div class="bottoms">
            <img src="@/assets/icons/welcome.svg" alt="" style="width:600px; height:300px">
        </div>
    </div>
</template>
  
<script setup lang="ts">

const avatar = 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif'
</script>
  
<style scoped lang="scss">
.frame {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box {
    display: flex;

    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }

    .bottom {
        margin-left: 20px;

        .title {
            font-size: 30px;
            font-weight: 900;
            margin-bottom: 30px;
        }

        .subtitle {
            font-style: italic;
            color: skyblue;
        }
    }
}

.bottoms {
    margin-top: 10px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>